package cn.itsource.ymcc.mapper;

import cn.itsource.ymcc.domain.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zongcj
 * @since 2023-09-14
 */
@Repository
public interface CourseMapper extends BaseMapper<Course> {

    void insertCourseTeachar(@Param("courseId") Long courseId,@Param("teacharIds") List<Long> teacharIds);

    List<Long> selectTeacharIdByCourseId(Long id);
}
